//
// Created by root on 4/29/17.
//

#ifndef FUNNY_RUNNER_TRANSLATE_H
#define FUNNY_RUNNER_TRANSLATE_H

#include <stdio.h>
#include "../base/cmocka_test.h"
#include "../../src/translate/common.h"

#define STATEMENT           "{define function {add}: {add {a} {b}} as {{a} + {b}}}"
#define LOOP_STATEMENT      "{case [when {a} then {b} ,] else {c}}"

int setup_translate(void **state);
int teardown_translate(void **state);

FILE *create_temp_file(const char *);

#endif //FUNNY_RUNNER_TRANSLATE_H
